.layout-index {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.header-content {
  width: 100%;
  height: 64px;
  padding-left: 16px;
  padding-right: 52px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f7f8fa;

  .header-logo {
    width: 40px;
    height: 40px;
    animation: rotate 5s linear infinite;
  }
  .header-title {
    font-size: 20px;
    color: #14161a;
    padding-left: 10px;
    margin-right: auto;
  }
}

.layout-content {
  display: flex;
  width: 100%;
  height: calc(100% - 64px);

  .ant-layout-sider {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  }
  .layout-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: #f7f8fa;
    overflow-x: hidden;
    overflow-y: auto;

    .breadcrumb-nav {
      display: flex;
      align-items: center;
      height: 56px;
      padding: 0 20px;
    }
    .main-content {
      flex: 1;
      width: 100%;
      padding: 0 20px 16px;
      // overflow: auto;
      overflow-y: auto;
    }
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
